using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class ChiTietHoaDonDTO
    {
        #region 1 - Cac thuoc tinh

        private int m_iMaChiTietHoaDon;
        private int m_iMaHoaDon;
        private int m_iMaSach;
        private int m_iSoLuong;
        private double m_dbDonGia;

        #endregion

        #region 2 - Cac property

        public int MaChiTietHoaDon
        {
            get { return m_iMaChiTietHoaDon; }
            set { m_iMaChiTietHoaDon = value; }
        }

        public int MaHoaDon
        {
            get { return m_iMaHoaDon; }
            set { m_iMaHoaDon = value; }
        }

        public int MaSach
        {
            get { return m_iMaSach; }
            set { m_iMaSach = value; }
        }

        public int SoLuong
        {
            get { return m_iSoLuong; }
            set { m_iSoLuong = value; }
        }

        public double DonGia
        {
            get { return m_dbDonGia; }
            set { m_dbDonGia = value; }
        }

        #endregion


        #region 3 - Phuong thuc khoi tao

        public ChiTietHoaDonDTO()
        {
            this.m_iMaChiTietHoaDon = -1;
            this.m_iMaHoaDon = -1;
            this.m_iMaSach = -1;
            this.m_iSoLuong = -1;
            this.m_dbDonGia = -1;
        }

        #endregion
    }
}
